package com.atguigu.eduservice.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class TeacherQuery implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 教师名称,支持模糊查询
     */
    @ApiModelProperty(value = "教师名称,模糊查询")
    private String name;

    /**
     * 头衔，1表示高级讲师，2表示首席讲师
     */
    @ApiModelProperty(value = "头衔 1高级讲师 2首席讲师")
    private Integer level;

    /**
     * 查询开始时间，格式为"yyyy-MM-dd HH:mm:ss"
     *
     * @example "2019-01-01 10:10:10"
     */
    @ApiModelProperty(value = "查询开始时间", example = "2019-01-01 10:10:10")
    private String begin;

    /**
     * 查询结束时间，格式为"yyyy-MM-dd HH:mm:ss"
     *
     * @example "2019-12-01 10:10:10"
     */
    @ApiModelProperty(value = "查询结束时间", example = "2019-12-01 10:10:10")
    private String end;
}
